package com.ruoyi.exam.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.exam.domain.PQuestionTypeEntity;
import com.ruoyi.exam.vo.PQuestionTypeEntityVo;

import java.util.List;

/**
 * @author coldplay
 * @create 2023-10-25 9:03
 */
public interface PQuestionTypeService {

  List<PQuestionTypeEntity> selectAll();


  AjaxResult updateByNames();

  AjaxResult updateByIds(List<PQuestionTypeEntityVo> typeEntityVos);

  public AjaxResult updateById(PQuestionTypeEntityVo typeEntityVo);

  AjaxResult deleteById(Integer id);

  AjaxResult addType(String name,Integer type);

  AjaxResult getById(Integer id);
}
